﻿namespace WebOptimizer.IO.Compression
{
	public class JavaScriptCompressor : IJavaScriptCompressor
	{
		public string Compress(string content)
		{
			Yahoo.Yui.Compressor.JavaScriptCompressor manager;

			manager = new Yahoo.Yui.Compressor.JavaScriptCompressor();

			return manager.Compress(content);
		}
	}
}
